package icu.d4peng.cloud.user.request;

import com.alibaba.fastjson.JSON;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author d4peng
 * @version 1.0.0
 * @date 2022-01-01 11:10
 * @description LogoutRequest:登出请求
 */
public class LogoutRequest implements Serializable {
    /**
     * ID
     */
    @NotNull
    private Long id;

    public Long getId() {
        return id;
    }

    public LogoutRequest setId(Long id) {
        this.id = id;
        return this;
    }

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
